public class Test11 {
    public static void main(String[] args) {
        int[] arr = {90,28,37,99,50};
        int min = arr[0];
        int max = arr[0];
        float sum = 0;
        for (int i = 0; i < arr.length; i++) {
            if (min > arr[i])
                min = arr[i];
            if (max < arr[i])
                max = arr[i];
            sum += arr[i];
        }
        System.out.println(min);
        System.out.println(max);
        System.out.println(sum/ arr.length);
    }
}
